class SubtasksdescController < ApplicationController
before_filter :authorize
  active_scaffold :subtasksdesc do | config |  
    config.label = "Subtasks Information"
  config.action_links.add 'export_csv', :label => 'Export to Excel', :page => true
  config.action_links.add 'trunc_tbl', :label => 'Clear DataBase', :page => true
  	  config.columns = [:conturl1,:uname1,:upwd1,:searterm1,:descocont1,:commocont1]	
		 config.columns[:conturl1].label ="Content URL"
		 config.columns[:uname1].label ="User Name" 
		 config.columns[:upwd1].label ="User Password"
		 config.columns[:searterm1].label ="Search term" 		 
		 config.columns[:descocont1].label ="Description of content"
		 config.columns[:commocont1].label ="Comment" 	
		 
  end 
end

